import request from '@/utils/request'

export function getCodeMasterList(data) {
  return request({
    url: '/api/CodeMaster/GetList',
    method: 'post',
    data: data
  })
}

export function saveCodeMaster(data) {
  return request({
    url: '/api/CodeMaster/Save',
    method: 'post',
    data: data
  })
}

export function deleteCodeMaster(data) {
  return request({
    url: '/api/CodeMaster/Delete',
    method: 'post',
    data: data
  })
}
export function validCodeMaster(data) {
  return request({
    url: '/api/CodeMaster/Valid',
    method: 'post',
    data: data
  })
}
